package com.ybb.vue.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ybb.vue.common.Result;
import com.ybb.vue.domain.dto.EpmResidentSaveDto;
import com.ybb.vue.domain.dto.EpmResidentUpdateDto;
import com.ybb.vue.entity.EpmResident;
import org.springframework.web.multipart.MultipartFile;

/**
* @author apple
* @description 针对表【resident(居民表)】的数据库操作Service
* @createDate 2023-03-02 13:42:34
*/
public interface EpmResidentService extends IService<EpmResident> {

    //新增居民
    Result saveResident(EpmResidentSaveDto residentSaveDto);

    // 编辑居民信息
    Result updateResident(EpmResidentUpdateDto residentUpdateDto);

    // 导入居民信息
    Result importResident(MultipartFile file) throws Exception;
}
